package com.kexinde.wjifen.vo;

import javax.persistence.Entity;

/**
 * 注册用户vo
 * @author vincent
 *
 */
@Entity
public class RegistUser {
	
	private String name;	//用户名
	private String password;	//密码
	private String repassword;	//确认密码
	private String telNum;	//绑定手机
	private String code;	//手机验证码
	private String email;	//邮箱
	private String recommender;	//推荐人
	private long initTotalPoint=0;	//若有推荐人，可得总分
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getRepassword() {
		return repassword;
	}
	public void setRepassword(String repassword) {
		this.repassword = repassword;
	}
	public String getTelNum() {
		return telNum;
	}
	public void setTelNum(String telNum) {
		this.telNum = telNum;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getRecommender() {
		return recommender;
	}
	public void setRecommender(String recommender) {
		this.recommender = recommender;
	}
	public long getInitTotalPoint() {
		return initTotalPoint;
	}
	public void setInitTotalPoint(long initTotalPoint) {
		this.initTotalPoint = initTotalPoint;
	}
	
	@Override
	public String toString() {
		return "RegistUser [name=" + name + ", password=" + password
				+ ", repassword=" + repassword + ", telNum=" + telNum
				+ ", code=" + code + ", email=" + email + ", recommender="
				+ recommender + ", initTotalPoint=" + initTotalPoint + "]";
	}
	
	
	
}
